package ai.people.netmon.framework.domain.jx;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 帐户位置
 *
 * @author LiGuanNan
 * @date 2022/6/30 13:50
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@TableName(schema = "telegram", value = "v_located_users")
public class AccountPosition implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 第一个名字
     */
    private String firstName;

    /**
     * 姓
     */
    private String lastName;

    /**
     * 城市
     */
    private String city;

    /**
     * 经度
     */
    private Double latitide;

    /**
     * 纬度
     */
    private Double longtitude;

    /**
     * 距离
     */
    private Double distance;

}
